package demo

type SystemTeacher struct {
	//ID      uint   `gorm:"-;primary_key;AUTO_INCREMENT"` // 主键ID
	ID      uint   `gorm:"primarykey"`
	Name    string `json:"name" form:"name" gorm:"column:name;comment:;"`
	ClassId int64  `json:"classId" form:"class_id" gorm:"column:class_id;comment:;"`
}

func (SystemTeacher) TableName() string {
	return "sys_teacher"
}
